package graph.interference;
import graph.Graph;
import graph.Node;

import java.util.List;

import Temp.Temp;
import Util.Pair;



abstract public class InterferenceGraph extends Graph {

	public abstract Node tnode(Temp temp);
	public abstract Temp gtemp(Node node);
	public abstract List<Pair<Node>> moves();

	public int spillCost(Node node) {
		return node.degree();
	}
}
